﻿namespace UnitTests.Domain
{
	using System;
	using System.Collections.Generic;
	using Core.Domain;

	internal class StubPersonRepository : IPersonRepository
	{
		private readonly IList<Person> storage = new List<Person>();

		public IList<Person> Storage
		{
			get
			{
				return this.storage;
			}
		}

		public void Save(Person account)
		{
			this.Storage.Add(account);
		}
	}
}
